/*
 * Copyright (c) 2020 IUV Inc. All rights reserved.
 * 项目名称：IUV TXY
 * 文件名：CommonOperateCode.java
 * Date：20-10-21 下午4:18
 * Author：Will
 */

package com.iuv.common;

/**
 * 通用操作状态码
 */
public class CommonOperateCode
{
	public class HandleStatus
	{
		public final static String SUCCESS = "S";
		public final static String FAILURE = "F";
	}

	public class SysCode
	{
		public final static String USER_ID_NOT_NULL = "U0001";
		public final static String ACCOUNT_NOT_MATCH = "U0002";
		public final static String PASSWORD_NOT_MATCH = "U0003";
		//好友
		public final static String ADD_FRIEND_FAIL = "F0001";
		public final static String ADD_FRIEND_SUCCESS = "F0002";
		public final static String UPDATE_FRIEND_FAIL = "F0003";
		public final static String UPDATE_FRIEND_SUCCESS = "F0004";
		public final static String DELETE_FRIEND_FAIL = "F0005";
		public final static String DELETE_FRIEND_SUCCESS = "F0006";
		public final static String CHECK_FRIEND_FAIL = "F0007";
		public final static String CHECK_FRIEND_SUCCESS = "F0008";
	}

	public class SysMsg
	{
		public final static String USER_ID_NOT_NULL = "用户ID不能为空";
		public final static String ACCOUNT_NOT_MATCH = "用户ID不存在";
		public final static String PASSWORD_NOT_MATCH = "密码错误";
		//好友
		public final static String ADD_FRIEND_FAIL = "添加好友失败";
		public final static String ADD_FRIEND_SUCCESS = "成功添加好友";
		public final static String UPDATE_FRIEND_FAIL = "更新好友失败";
		public final static String UPDATE_FRIEND_SUCCESS = "成功更新好友";
		public final static String DELETE_FRIEND_FAIL = "删除好友失败";
		public final static String DELETE_FRIEND_SUCCESS = "成功删除好友";
		public final static String CHECK_FRIEND_FAIL = "校验好友失败";
		public final static String CHECK_FRIEND_SUCCESS = "成功校验好友";
	}
}
